package cn.ycxy.lbl.pojo.member.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;


@JsonInclude(JsonInclude.Include.NON_NULL)  //忽略为null的字段序列化返回
@ApiModel(value = "用户登录成功模板")
@Data
@Accessors(chain = true)
public class LoginSuccessVO implements Serializable {

    @ApiModelProperty(value = "用户id",example = "1")
    private Long userId;

    @ApiModelProperty(value = "用户微信sessionKey",example = "vRJgkKrX9G3rZ26kir+zAQ==")
    private String sessionKey;

    @ApiModelProperty(value = "微信用户唯一标识openid")
    private String openid;

    @ApiModelProperty(value = "用户手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "学院")
    private String college;

    @ApiModelProperty(value = "携带Token的头",example = "Bearer")
    private String tokenHeader;

    @ApiModelProperty(value = "JWT Token值")
    private String tokenValue;

    @ApiModelProperty(value = "环信IM Token值")
    private String imTokenValue;

}
